{if condition="$wid"}
<?php
${'active_'.$sideFlag} = 'active';
?>
<ul class="nav nav-tabs mb-3">
	<li class="nav-item"><a class="nav-link {$active_index}" href="{:url('weixin_manage/index/index', ['wid'=>$wid])}">首页</a></li>
	<li class="nav-item"><a class="nav-link {$active_menu}" href="{:url('weixin_manage/menu/index', ['wid'=>$wid])}">微信菜单</a></li>
	<li class="nav-item"><a class="nav-link {$active_event}" href="{:url('weixin_manage/event/index', ['wid'=>$wid])}">触发事件</a></li>
	<li class="nav-item"><a class="nav-link {$active_firstpush}" href="{:url('weixin_manage/firstpush/index', ['wid'=>$wid])}">关注推送</a></li>
	<li class="nav-item"><a class="nav-link {$active_user}" href="{:url('weixin_manage/user/index', ['wid'=>$wid])}">用户管理</a></li>
</ul>
{/if}